package com.ls.dao;

import com.ls.entity.Department;

import java.util.Date;
import java.util.List;



public interface DepartmentDao {
	public List<Department> findAllDepartments(int pageId, int num);
	public List<Department> findPageNum();
	public int insertDept(String dept_name,Date create_time);
	public int deleteByIdDept(String[] ids);
	public List<Department> findName(String name);
	public List<Department> findNameFenye(String name,int pageId,int num);
	
	public Department showDp(int dept_id);
	public int updateDp(Department department);
	

}
